import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_html/flutter_html.dart';

import 'package:ball_lion/resources/colours.dart';
import '../base/wqs_text.dart';

class FeeLine extends StatelessWidget {
  const FeeLine({super.key, required this.extensionContext});

  final ExtensionContext extensionContext;

  @override
  Widget build(BuildContext context) {
    return Container(
        padding: const EdgeInsets.fromLTRB(8, 0, 8, 12),
        child: Row(
          children: [
            Expanded(
                child: Container(
              height: 0.5,
              color: Colours.main,
            )),
            Padding(
                padding: const EdgeInsets.symmetric(horizontal: 11),
                child: QsText("以下${extensionContext.node.text}为付费内容",
                    color: Colours.main, fontSize: 12)),
            Expanded(
                child: Container(
              height: 0.5,
              color: Colours.main,
            )),
          ],
        ));
  }
}
